# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=distrobox
pkgver=1.3.0
pkgrel=0
pkgdesc="Use any Linux distribution inside your terminal"
url="https://distrobox.privatedns.org/"
# s390x and riscv64 blocked by podman
arch="noarch !s390x !riscv64"
license="GPL-3.0-only"
depends="podman"
subpackages="$pkgname-doc"
source="https://github.com/89luca89/distrobox/archive/$pkgver/distrobox-$pkgver.tar.gz"
options="!check" # No tests

package() {
	install -dm0755 "$pkgdir"/usr/bin
	./install -p "$pkgdir"/usr/bin

	install -dm0755 "$pkgdir"/usr/share/doc/distrobox
	install -m 0644 docs/*.md "$pkgdir"/usr/share/doc/distrobox
}

sha512sums="
1bc299e4738b548b182a22458dc80a720f221f97b61d805b43ea121c8640c4cd2a282c150272826b7cb005f76a80dadccd9a4c60d1cec19b36c7321cf7a2cf69  distrobox-1.3.0.tar.gz
"
